#!/usr/bin/env sh

# I would like to have an Xfce icon in the polybar that launches this:
# xfce4-popup-applicationsmenu
#polybar example
#
kill `ps -A | grep -m 1 'polybar example' | awk '{ print $1 }'`

echo "---" | tee -a /tmp/polybar.example.log /tmp/polybar2.log
polybar example 2>&1 | tee -a /tmp/polybar.example.log & disown

echo "bars launched."
